function EnterSetting()
    local ck = os.clock();
    
    PauseScene();

    local scene = LoadJson("setting.json");
    scene:setPosition(cc.p(g_Data.scene.width/2-scene.layer:getContentSize().width/2
        , g_Data.scene.height/2-scene.layer:getContentSize().height/2));

    local function continueCallBack(sender, eventType)
        if eventType == ccui.TouchEventType.ended then
            ck = os.clock() - ck;
            g_Data.startCk = g_Data.startCk + ck;
            g_Data.scene.data.remove[scene] = true;
            ResumeScene();
        end
    end
    local button = scene.layer:getChildByName("continue")
    button:addTouchEventListener(continueCallBack)

    local function exitGateCallBack(sender, eventType)
        if eventType == ccui.TouchEventType.ended then
            StopGate();
            PopScene();
            ResumeScene();
            FlushSitem();
            AudioEngine.playMusic(EXCEL.sound.world.value, true)
        end
    end
    local button = scene.layer:getChildByName("exitGate")
    button:addTouchEventListener(exitGateCallBack)

    g_Data.scene.layer:addChild(scene);
end

